/*https://assets.revcontent.com/master/delivery.js*/ ;try{/** [Delivery.js] Version: 0.1.0 - Wednesday, July 30th, 2025, 4:41:51 PM */ !function(e){function t(t){for(var n,r,o=t[0],a=t[1],s=0,u=[];s0},_=.95,b={privacy:"https://revcontent.com/privacy-policy",complaints:"https://help.revcontent.com/en/knowledge/fake-news-complaints"},w={INJECTION:"injection",DISPLACEMENT:"displacement"},y={PIC_TEXT_LINKS:2,STANDARD_HOVER_BLOCK:3,HOVER_BLOCK_LINKS:4,IN_ARTICLE:5,SINGLE_LINK_LIST:6,DOUBLE_LINK_LIST:7,IN_FEED_VIDEO:9,FEED:11,BRAND_TAKEOVER:"bt",RTB:"rtb"},C={DEFAULT:"DEFAULT",TWOCOLUMN:"TWOCOLUMN"},x={DESKTOP:(r={},r[C.DEFAULT]={index:1,span:2},r[C.TWOCOLUMN]={index:2,span:2},r),TABLET:(i={},i[C.DEFAULT]={index:1,span:2},i[C.TWOCOLUMN]={index:2,span:2},i),MOBILE:{DEFAULT:{index:0,span:2}}},S={DEFAULT:"DEFAULT",TWOCOLUMN:"TWOCOLUMN"},k={DESKTOP:(o={},o[S.DEFAULT]={index:0,span:2},o[S.TWOCOLUMN]={index:2,span:2},o),TABLET:(a={},a[S.DEFAULT]={index:0,span:2},a[S.TWOCOLUMN]={index:2,span:2},a),MOBILE:{DEFAULT:{index:0,span:2}}},O="https://cdnjs.cloudflare.com/v3/polyfill.min.js?features=Array.from%2CArray.prototype.every%2CArray.prototype.fill%2CArray.prototype.filter%2CArray.prototype.find%2CArray.prototype.findIndex%2CArray.prototype.flatMap%2CArray.prototype.forEach%2CArray.prototype.includes%2CArray.prototype.indexOf%2CArray.prototype.map%2CArray.prototype.reduce%2CArray.prototype.some%2CArray.prototype.sort%2CArray.prototype.%40%40iterator%2CArray.prototype.at%2CArray.prototype.copyWithin%2CAbortController%2Cfetch%2CIntersectionObserver%2CIntersectionObserverEntry%2CMutationObserver%2CResizeObserver%2CString.prototype.trim%2CString.prototype.trimStart%2CString.prototype.trimEnd%2CString.prototype.startsWith%2CString.prototype.includes%2CURLSearchParams%2CPromise%2CPromise.allSettled%2CPromise.any%2CPromise.prototype.finally%2CObject.entries%2CObject.values%2CCustomEvent&flags=gated",I={BULBASAUR:"bulbasaur",IVYSAUR:"ivysaur",VENASAUR:"venasaur"},E="ak_01j5960e1vev1v4gee7x9070t1",P="https://api.dappier.com/app/datamodel/";Object.keys({98856:{model:"dm_01jmjmvm1bfpssbg70t79r6dsc",count:6},273191:{model:"dm_01j595h6pvfe6tjdv7abkwrc1e",count:6}})},"2kSN":function(e,t,n){"use strict";(function(e){var r=n("QRet");t.a=function(t){var n=t.spotId;if(!n)return null;var i=Object(r.j)(null);return Object(r.d)((function(){if(i.current&&n&&!document.querySelector("#rc-openweb-"+n)){var e=document.createElement("script");e.id="rc-openweb-"+n,e.async=!0,e.src="https://launcher-sa.spot.im/spot/"+n,e.dataset.spotimAutorun=!1,e.dataset.spotimModule="spotim-launcher",i.current.appendChild(e)}}),[n,i.current]),e("div",{id:"rc-openweb-slot-"+n,ref:i},e("div",{"data-openweb-ad":!0,"data-row":"1","data-column":"1"}))}}).call(this,n("hosL").h)},"5+HP":function(e,t,n){"use strict";function r(e){return Boolean(e&&void 0!==e.length)}function i(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void c(t.promise,e)}s(t.promise,r)}else(1===e._state?s:c)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void d((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){c(e,t)}var r,i}function c(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t1)return!0;return!1}(e)?"tablet":function(e){return!!e.match(/ip(hone|od)|android.+mobile|windows (ce|phone)|blackberry|bb10|symbian|webos|firefox.+fennec|opera m(ob|in)i|tizen.+mobile|polaris|iemobile|lgtelecom|nokia|sonyericsson|dolfin|uzard|natebrowser|ktf;|skt;/)}(e)?"mobile":""}function i(e){var t={},r=/(iphone|ipad|ipod)[\S\s]*os ([\w._\-]+) like/.exec(e)||!!/polaris|natebrowser|([010|011|016|017|018|019]{3}\d{3,4}\d{4}$)/.test(e)&&["","polaris","0.0.0"]||/(windows)(?: nt | phone(?: os){0,1} | )([\w._\-]+)/.exec(e)||/(android)[ \/]([\w._\-]+);/.exec(e)||!!/android/.test(e)&&["","android","0.0.0"]||!!/(windows)/.test(e)&&["","windows","0.0.0"]||/(mac) os x ([\w._\-]+)/.exec(e)||/(tizen)[ \/]([\w._\-]+);/.exec(e)||!!/(linux)/.test(e)&&["","linux","0.0.0"]||!!/webos/.test(e)&&["","webos","0.0.0"]||/(cros)(?:\s[\w]+\s)([\d._\-]+)/.exec(e)||/(bada)[ \/]([\w._\-]+)/.exec(e)||!!/bada/.test(e)&&["","bada","0.0.0"]||!!/(rim|blackberry|bb10)/.test(e)&&["","blackberry","0.0.0"]||["","unknown","0.0.0"];return"iphone"===r[1]||"ipad"===r[1]||"ipod"===r[1]?r[1]="ios":"windows"===r[1]&&"98"===r[2]&&(r[2]="0.98.0"),"mac"===r[1]&&"undefined"!=typeof window&&window.navigator&&window.navigator.maxTouchPoints>1&&(r[1]="ios"),"cros"===r[1]&&(r[1]="chrome"),t[r[1]]=!0,t.name=r[1],t.version=n(r[2]),t}function o(e,t){var r={},i=null,o=a;Array.isArray(t)?o=a.concat(t):"string"==typeof t&&(o=a.concat([t]));for(var s=0,c=o.length;s0&&(r=t.map((function(t){return e("img",{src:t,style:{display:"none"},alt:""})}))),n&&n.length>0&&(i=e("img",{src:n,style:{display:"none"}})),[].concat(r,[i])},A=function(t,n){var r;return n&&(r=e("img",{style:"margin-left: 5px;",class:"widget-adchoices-icon",src:n})),e("div",{class:"rc-branding rc-branding-label rc-brand-content",style:"white-space: nowrap !important; display: flex; align-items: center;"},t,r)},m=function(e){var t,n,r,i,o,a,s,c="",u=0;for(e=g(e);u>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),c=c+l.charAt(i)+l.charAt(o)+l.charAt(a)+l.charAt(s);return c},g=function(e){e=e.replace("/\r\n/g","\n");for(var t="",n=0;n127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},v=function(e,t,n,r,i){return void 0===r&&(r=!1),r?Object(a.s)(e/(a.e.max_columns/t),i):"rc-g-p"===n&&12===t?e/(a.e.max_columns/t)*.7:e/(a.e.max_columns/t)*a.e.ratios[d[t]]},_=function(e,t,n,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),"rc-g-p"===n&&12===t||i?e*(t/a.e.max_columns):e*(t/a.e.max_columns)-(r?0:a.e.gutter)},b=function(e,t,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!1);var o=100/e,s=0,c=0;return o>=20&&(c=(s=a.n.mini.width)*a.n.mini.ratio),o>=30&&(c=(s=a.n.small.width)*a.n.medium.ratio),o>=45&&(c=(s=a.n.medium.width)*a.n.medium.ratio),o>=50&&t.width<6&&(c=(s=a.n.medium_plus.width)*a.n.medium_plus.ratio),o>=70&&(c=(s=a.n.large.width)*a.n.large.ratio),r?"\n width: "+(s=i-a.e.gutter)+"px;\n height: "+(c=.5*s)+"px;\n ":n?{width:s,height:c}:"\n flex-basis: "+s+"px;\n flex-grow: 0;\n flex-shrink: 0;\n height: "+c+"px;\n "},w=function(e,t,n){return n.width<6&&(null==e?void 0:e.length)>t?e.substring(0,t)+"...":e},y=["C","canary","canonicalUrl","clientId","container","data","domFingerprint","initialLayoutRect","initialIntersection","pageViewId","referrer","startTime","tagName","widgetid","subids","view","adBlocked","width","height"],C=function(e){var t={};return Object.keys(e).filter((function(e){return y.includes(e)})).forEach((function(n){return t[n]=e[n]})),t},x=function(e,t,n){if(!e||!n)return null;"sponsored"===e.type||1==t&&"trending"===e.type?n.rel="nofollow noskim sponsored noopener":"trending"===e.type&&(n.rel="noskim")},S="rc",k="stack",O="brand-takeover",I="content",E=function(e,t){return t?O:-1!==e.indexOf("revcontent")?S:-1!==e.indexOf("stacksocialcontent")?k:I},P=function(e){var t;for(var n in a.k)if(e0&&t&&!o.viewed&&n&&(o.viewed=!0,o.index=i,a(o,s))}),e)},D=function(e,t,n,r,i,o,a,s,c,u){setTimeout((function(){r>0&&t&&(!o.viewed&&n&&(o.viewed=!0,o.index=i,a(o)),!u&&c&&s(!0),c||s(!1))}),e)},L=function(e,t,n){return!!(e&&t&&t.includes(n))},N=function(){var e=c.a.userAgent();return"mobile"===e.platform?"mobile":"tablet"===e.platform?"tablet":"pc"===e.platform&&!("msie"===e.browser.name&&e.browser.version.major<=11)&&"desktop"},U=function(e,t,n,r,i,o,s,c){var u,l,d=[].concat(e);s===a.i.INJECTION&&o?d.push(((u={})[c]=t,u.column=n,u)):d.splice(i,0,((l={})[c]=t,l.column=r,l));return d},B=function(e,t,n,r){var i,o=[].concat(e);return o.splice(t,0,((i={})[r]="minuteMedia",i.column=n,i)),o},M=function(e,t,n,r){var i,o=[].concat(e);return o.splice(t,0,((i={})[r]="aniView",i.column=n,i)),o},V=function(e,t,n,r,i){void 0===i&&(i=!1);var o=[],a=0,s=0,c=parseInt(t,10);return e.forEach((function(e,t){if(s=n.__.length&&n.__.push({}),n.__[e]}function i(e){return x=1,o(_,e)}function o(e,t,n){var i=r(b++,2);return i.t=e,i.__c||(i.__=[n?n(t):_(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=w),i.__}function a(e,t){var n=r(b++,3);!C.options.__s&&v(n.__H,t)&&(n.__=e,n.__H=t,w.__H.__h.push(n))}function s(e,t){var n=r(b++,4);!C.options.__s&&v(n.__H,t)&&(n.__=e,n.__H=t,w.__h.push(n))}function c(e){return x=5,l((function(){return{current:e}}),[])}function u(e,t,n){x=6,s((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function l(e,t){var n=r(b++,7);return v(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function d(e,t){return x=8,l((function(){return e}),t)}function p(e){var t=w.context[e.__c],n=r(b++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(w)),t.props.value):e.__}function f(e,t){C.options.useDebugValue&&C.options.useDebugValue(t?t(e):e)}function h(e){var t=r(b++,10),n=i();return t.__=e,w.componentDidCatch||(w.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function A(){S.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(m),e.__H.__h.forEach(g),e.__H.__h=[]}catch(t){e.__H.__h=[],C.options.__e(t,e.__v)}})),S=[]}function m(e){var t=w;"function"==typeof e.__c&&e.__c(),w=t}function g(e){var t=w;e.__c=e.__(),w=t}function v(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function _(e,t){return"function"==typeof t?t(e):t}n.d(t,"k",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"j",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"e",(function(){return h}));var b,w,y,C=n("hosL"),x=0,S=[],k=C.options.__b,O=C.options.__r,I=C.options.diffed,E=C.options.__c,P=C.options.unmount;C.options.__b=function(e){w=null,k&&k(e)},C.options.__r=function(e){O&&O(e),b=0;var t=(w=e.__c).__H;t&&(t.__h.forEach(m),t.__h.forEach(g),t.__h=[])},C.options.diffed=function(e){I&&I(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==S.push(t)&&y===C.options.requestAnimationFrame||((y=C.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),R&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);R&&(t=requestAnimationFrame(n))})(A)),w=void 0},C.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(m),e.__h=e.__h.filter((function(e){return!e.__||g(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],C.options.__e(n,e.__v)}})),E&&E(e,t)},C.options.unmount=function(e){P&&P(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(m)}catch(e){C.options.__e(e,t.__v)}};var R="function"==typeof requestAnimationFrame},QfWi:function(e,t,n){"use strict";n.r(t),function(e){n("wthT");var t=n("eJJ5"),r=n.n(t),i=n("hosL"),o=n("dUsk"),a=n("duBu"),s=n("HGy1"),c=n("2Usk");Promise._unhandledRejectionFn=function(e){console.warn("Unhandled Promise Rejection",e)},Promise._immediateFn=r.a;var u=function(){var e=Array.from(document.querySelectorAll("[data-rc-widget], [data-stack-widget], [data-widget-placement], [data-rc-next-widget]"));window.revcontent||(window.revcontent={pageviewed:!1,renderedWidgets:[],adblocked:null}),window.revcontent&&!window.revcontent.renderedWidgets&&(window.revcontent.renderedWidgets=[]),window.renderRCWidget||(window.renderRCWidget=function(e){l(e)}),function(e){if(window.context){var t=document.createElement("div");t.setAttribute("data-widget-host",window.data.habitat?window.data.habitat:"habitat"),t.setAttribute("data-endpoint",window.data.endpoint),t.setAttribute("data-widget-id",window.data.id),window.data.gdpr&&t.setAttribute("data-gdpr",window.data.gdpr),window.data.gdprConsent&&t.setAttribute("data-gdpr-consent",window.data.gdprConsent),window.data.usPrivacy&&t.setAttribute("data-us-privacy",window.data.usPrivacy),window.data.gpp&&t.setAttribute("data-gpp",window.data.gpp),window.data.gppSid&&t.setAttribute("data-gpp-sid",window.data.gppSid),window.data.subIds&&t.setAttribute("data-sub-ids",window.data.subIds),window.data.rcAmpNotify&&t.setAttribute("data-rc-amp-notify",window.data.ampNotify),window.context.sourceUrl&&t.setAttribute("data-source-url",window.context.sourceUrl),window.data.gamEnabled&&t.setAttribute("data-gam-enabled",!0),document.body.appendChild(t),e.push(t)}}(e),e.length>0&&e.forEach((function(e){void 0!==e.dataset.directDelivery||void 0!==e.dataset.disableDemand?l(e):Object(s.r)().then((function(t){return l(e,t)})).catch((function(){return l(e)}))}))},l=function(t,n){var r,s,u;void 0===n&&(n=null);var l=null==(r=window)?void 0:r.location.href;if(-1===(null==(s=window.revcontent)||null==(u=s.renderedWidgets)?void 0:u.indexOf(t))){var d,p,f;null==(d=window.revcontent)||null==(p=d.renderedWidgets)||p.push(t);var h=t.getAttribute("data-endpoint");if(c.d.includes(parseInt(t.dataset.widgetId,10))&&Object(c.u)(l)){var A=document.currentScript;return t.parentNode.removeChild(t),void A.parentNode.removeChild(A)}h=h?h.replace(/\/\//,""):"",Object(i.render)(e(o.b,{widgethost:t.getAttribute("data-widget-host"),isCircuitBreaker:t.getAttribute("data-circuit-breaker"),widgetid:t.getAttribute("data-widget-id"),endpoint:h,idHub:n,isGamEnabled:t.getAttribute("data-gam-enabled"),imageQuality:t.getAttribute("data-image-quality"),videoEnabled:t.getAttribute("data-video-enabled"),subids:t.getAttribute("data-sub-ids"),redirected:t.getAttribute("data-widget-redirected"),bannerSize:t.getAttribute("data-banner-size"),rtbInfo:t.getAttribute("data-rtb-info"),gdpr:t.getAttribute("data-gdpr"),gdprConsent:t.getAttribute("data-gdpr-consent"),usPrivacy:t.getAttribute("data-us-privacy"),gpp:t.getAttribute("data-gpp"),gppSid:t.getAttribute("data-gpp-sid"),siteurl:t.getAttribute("data-source-url"),icrurl:t.getAttribute("data-icr-url"),revmore:t.getAttribute("data-rev-more"),revmoreDevices:t.getAttribute("data-rev-more-devices"),revmorePreviewHeight:t.getAttribute("data-rev-more-preview-height"),revmoreButtonText:t.getAttribute("data-rev-more-button-text"),revmoreWrapperId:t.getAttribute("data-rev-more-wrapper-id"),clickTracker:t.getAttribute("data-click-tracker"),rcAmpNotify:t.getAttribute("data-rc-amp-notify"),clickTrackerMethod:t.getAttribute("data-click-tracker-method"),disableDemand:t.getAttribute("data-disable-demand"),countryCode:t.getAttribute("data-country-code"),widgetWidth:null==(f=t.parentElement)?void 0:f.clientWidth,mockRtb:t.getAttribute("data-mock-rtb"),reqId:t.getAttribute("data-req-uuid")},e(a.a,null)),t)}};if(function(){try{return new Function("async (x = 0) => x"),!1}catch(e){return!0}}()){var d=document.createElement("script");d.async=!0,d.src=c.p,d.onload=function(){return u()},d.onabort=function(){return u()},d.onerror=function(){return u()},document.body.appendChild(d)}else u()}.call(this,n("hosL").h)},UutA:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;r0?" Args: "+n.join(", "):""))}function c(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=se(t%52)+n;return(se(t%52)+n).replace(ae,"$1-$2")}function u(e){for(var t=0;t0&&(n[0]=n[0].replace(i,h))},f,function(e){if(-2===e){var t=p;return p=[],t}}])),t.hash=l.length?l.reduce((function(e,t){return t.name||s(15),ce(e,t.name)}),5381).toString():"",t}function d(){return Object(x.useContext)(he)||me}function p(){return Object(x.useContext)(Ae)||ge}function f(e){var t=Object(x.useState)(e.stylisPlugins),n=t[0],r=t[1],i=d(),o=Object(x.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=Object(x.useMemo)((function(){return l({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(x.useEffect)((function(){k()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),x.default.createElement(he.Provider,{value:o},x.default.createElement(Ae.Provider,{value:a},e.children))}function h(e){return _e.test(e)?e.replace(be,ye).replace(we,"-ms-"):e}function A(e,t,n,r){if(Array.isArray(e)){for(var o,s=[],c=0,u=e.length;c1?t-1:0),r=1;r1?t-1:0),r=1;r=0||(i[n]=e[n]);return i}(t,["componentId"]),s=i&&i+"-"+(v(e)?e:g(o(e)));return w(e,r({},a,{attrs:y,componentId:s}),n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=s?b({},e.defaultProps,t):t}}),S.toString=function(){return"."+S.styledComponentId},c&&j()(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}function y(e){function t(e){var t=d(),r=p(),i=Object(x.useContext)(Pe),o=Object(x.useRef)(t.allocateGSInstance(c)).current;return Object(x.useLayoutEffect)((function(){return n(o,e,t,i,r),function(){return u.removeStyles(o,t)}}),[o,e,t,i,r]),null}function n(e,n,i,o,a){if(u.isStatic)u.renderStyles(e,V,i,a);else{var s=r({},n,{theme:xe(n,o,t.defaultProps)});u.renderStyles(e,s,i,a)}}for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;ar&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(A,"$1"+e.trim());case 58:return e.trim()+t.replace(A,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0f)&&(M=(W=W.replace(" ",":")).length),0=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&s(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(U))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(U,"active"),r.setAttribute("data-styled-version","5.3.0");var a=J();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},ee=function(){function e(e){var t=this.element=Z(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(u+=e+",")})),r+=""+s+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),ae=/(a)(d)/gi,se=function(e){return String.fromCharCode(e+(e>25?39:97))},ce=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ue=function(e){return ce(5381,e)},le=ue("5.3.0"),de=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&u(e),this.componentId=t,this.baseHash=ce(le,t),this.baseStyle=n,oe.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=A(this.rules,e,t,n).join(""),a=c(ce(this.baseHash,o.length)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,l=ce(this.baseHash,n.hash),d="",p=0;p>>0);if(!t.hasNameForId(r,g)){var v=n(d,"."+g,void 0,r);t.insertRules(r,g,v)}i.push(g)}}return i.join(" ")},e}(),pe=/^\s*\/\/.*$/gm,fe=[":","[",".","#"],he=x.default.createContext(),Ae=x.default.createContext(),me=new oe,ge=l(),ve=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ge);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return s(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ge),this.name+e.hash},e}(),_e=/([A-Z])/,be=/([A-Z])/g,we=/^ms-/,ye=function(e){return"-"+e.toLowerCase()},Ce=function(e){return null==e||!1===e||""===e},xe=(new Set,function(e,t,n){return void 0===n&&(n=N),e.theme!==n.theme&&e.theme||t||n.theme}),Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g,Oe=function(e){return c(ue(e)>>>0)},Ie=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ee=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e},Pe=x.default.createContext(),Re={},je=function(e){return function e(t,n,i){if(void 0===i&&(i=N),!Object(C.isValidElementType)(n))return s(1,String(n));var o=function(){return t(n,i,m.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,r({},i,{},o))},o.attrs=function(o){return e(t,n,r({},i,{attrs:Array.prototype.concat(i.attrs,o).filter(Boolean)}))},o}(w,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){je[e]=je(e)}));var Te=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=u(e),oe.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(A(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&oe.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=J();return""},this.getStyleTags=function(){return e.sealed?s(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return s(2);var n=((t={})[U]="",t["data-styled-version"]="5.3.0",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=J();return i&&(n.nonce=i),[x.default.createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new oe({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?s(2):x.default.createElement(f,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(){return s(3)}})(),t.b=je},Z3s7:function(e,t){"use strict";t.a=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}},bHZ2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){var n=new CustomEvent(e,{detail:t});window.dispatchEvent(n)}},dUsk:function(e,t,n){"use strict";(function(e){function r(){return(r=Object.assign||function(e){for(var t=1;t0&&(u=e.forEach((function(e){if("trending"===e.type){var t=d[0];t&&(e.image=t.image_url,e.headline=t.title,e.url=t.url,d.shift())}}))),s.call(this)}catch(e){return a(e)}}.bind(this),a)):s.call(this)}))},r.queueItemForView=function(e,t){r.viewed.includes(e)||(t?(r.dbcooperTrendingViewQueue.push(e),r.dbcooperTrendingStatsPayloadQueue.push(e)):(r.viewQueue.push(e),r.statsPayloadQueue.push(e)),setTimeout((function(){!t&&r.viewQueue.length>0?(r.fireViewEvent(r.viewQueue,!1,!1),r.fireViewEvent(r.statsPayloadQueue,!0,!0)):t&&r.dbcooperTrendingViewQueue.length>0&&(r.fireViewEvent(r.dbcooperTrendingViewQueue,!1,!0),r.fireViewEvent(r.dbcooperTrendingStatsPayloadQueue,!0,!0))}),300))},r.fireViewEvent=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),t)r.viewQueue=[],e.forEach((function(e){e.viewed&&!e.viewFired&&(e.viewFired=!0,r.viewed.push(e))}));else{if(r.state.isCircuitBreaker)return;r.viewQueue=[];var i=new URLSearchParams,o=r.state.newView?r.state.newView:r.state.view;if(n&&(o=r.state.dbcooperTrendingViewHash),i.append("view",o),i.append("adblocked",r.props.adblocked),r.hasWidgetView||r.state.newView||r.state.dbcooperTrendingViewHash?i.append("view_type","fill"):(i.append("view_type","widget"),r.hasWidgetView=!0),e.forEach((function(e){r.hasRecordedImpression||r.fireImpressionEvent(),e.viewed&&!e.viewFired&&(i.append("p[]",e.index),e.viewFired=!0,r.viewed.push(e))})),r.state.isAppleNews){i.append("wid",r.props.widgetid),i.append("pubid",r.state.pub_id);var a=i.toString();fetch("https://"+r.state.view_event_endpoint+"?"+a).then((function(){return r.loadViewTrackers(e)})).catch((function(e){var t={endpoint:"view",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",!0,!0)}))}else{var s="https://"+r.props.endpoint+"/event/view";r.state.view_event_endpoint&&(s="https://"+r.state.view_event_endpoint),fetch(s,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:i}).then((function(){return r.loadViewTrackers(e)})).catch((function(e){var t={endpoint:"view",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",!1,!0)}))}}},r.updateItems=function(e,t){if(t&&r.state.items){var n=decodeURIComponent(t.target_url);t.hash=n.substring(n.lastIndexOf("d=")+2,n.length),t.uid=decodeURIComponent(t.id)}},r.updateItem=function(e,t,n){if(n){var i=r.state.repeatItems;i.forEach((function(n){n.forEach((function(r,i){r.id===e&&(n[i]=t)}))})),r.setContextState("repeatItems",i)}else{var o=r.state.items.findIndex((function(t){return t.id===e})),a=r.state.items;a[o]=t,r.setContextState("items",a)}},r.getRepeatItemsLength=function(){if(r.state.repeatItems){var e=0;return r.state.repeatItems.forEach((function(t){t.forEach((function(){e++}))})),e}},r.prepImpressionEvent=function(){window.context||r.state.isAppleNews||(r.state.isWebView||r.props.isWindowFocused)&&r.fireImpressionEvent()},r.fireImpressionEvent=function(){if(!r.state.isCircuitBreaker&&!r.hasRecordedImpression){r.hasRecordedImpression=!0;var e=new URLSearchParams,t={v:r.state.view,r:document.referrer?encodeURIComponent(document.referrer.substr(0,700)):"",l:encodeURIComponent(r.state.siteUrl.substr(0,700)),f:window.location!==window.parent.location,variant:r.state.split_test,adblocked:r.props.adblocked};for(var n in t.client_version=r.state.client_version,t)e.append(n,t[n]);if(r.state.isAppleNews){e.append("wid",r.props.widgetid),e.append("pubid",r.state.pub_id);var i=e.toString();fetch("https://"+r.state.imp_event_endpoint+"?"+i).catch((function(e){var t={endpoint:"impression",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",!0,!0)}))}else fetch("https://"+r.props.endpoint+"/event/impression",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:e}).catch((function(e){var t={endpoint:"impression",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",!1,!0)}))}},r.applyCustomCss=function(){if(r.state.custom_css){var e=document.createElement("style");e.innerHTML=r.state.custom_css,document.body.appendChild(e)}},r.loadViewTrackers=function(e){e.forEach((function(e){e.viewtrackers&&e.viewtrackers.forEach((function(e){var t=Object(v.c)(e);document.body.appendChild(t)}))}))},r.loadMoreContent=function(){if(0===r.state.repeatSponsoredCount){var e,t=0,n=0;null==(e=r.state.grid_settings.repeat.rows)||e.forEach((function(e){e.columns.forEach((function(e){"sponsored"===e.type&&t++,"trending"!==e.type&&"house"!==e.type||n++}))})),r.setState(o(o({},r.state),{},{repeatSponsoredCount:t,repeatTrendingCount:n}))}for(var i="&site_url="+encodeURIComponent(r.state.siteUrl),a="&icr_url="+encodeURIComponent(r.state.icrUrl),s=null!=r.state.gdpr?"&gdpr="+r.state.gdpr:"",c=null!=r.state.gdprConsent?"&gdpr_consent="+r.state.gdprConsent:"",u=null!=r.state.usPrivacy?"&us_privacy="+r.state.usPrivacy:"",l=null!=r.state.gpp?"&gpp="+r.state.gpp:"",d=null!=r.state.gppSid?"&gpp_sid="+r.state.gppSid:"",p=null!=r.state.revAllowCookies?"&rev_allow_cookies="+r.state.revAllowCookies:"",f="&va="+r.state.isVideoAutoplayAllowed,h=null!=r.getCriteoRTUSId()?"&criteo_rtus="+r.getCriteoRTUSId():"",A="&style_id="+(r.state.styleId||0),m="&an="+r.state.isAppleNews,g=null!=r.state.mockRtb?"&mr="+r.state.mockRtb:"",_=null!=r.props.reqId?"&rq="+r.props.reqId:"",b=r.state.isAppleNews||null==localStorage.getItem("ib")?"":"&ib="+localStorage.getItem("ib"),w="",y=0,C=Object.entries(r.getRtbUid());y=170&&r.loadedItems.splice(0,10),r.loadedItems.push(e.type+"_"+e.id),"trending"===e.type&&r.icrOffset++}))},r.getInitialContentCounts=function(){var e=0,t=0;r.state.grid_settings.initial.rows.forEach((function(n){n.columns.forEach((function(n){"sponsored"===n.type&&e++,"trending"!==n.type&&"house"!==n.type||t++}))})),r.setState(o(o({},r.state),{},{totalSponsoredCount:e,totalTrendingCount:t}))},r.getContentCounts=function(){if((0===r.state.repeatSponsoredCount||0===r.state.repeatTrendingCount)&&r.state.grid_settings.repeat){var e=0,t=0;r.state.grid_settings.repeat.rows&&r.state.grid_settings.repeat.rows.forEach((function(n){n.columns&&n.columns.forEach((function(n){"sponsored"===n.type&&e++,"trending"===n.type&&t++}))})),r.setState(o(o({},r.state),{},{repeatSponsoredCount:e,repeatTrendingCount:t}))}},r.setExcoDefaultsIfNeeded=function(e,t,n,r){var i,o;return!r||e||t?e||t?(i=e,o=t):(i=n.columns,o=2):(o="1f"===n.rows?2:1,i=0),{excoIndex:i,excoColumnSpan:o}},r.setExcoPosition=function(e,t,n,i,o,a,s,c,u){void 0===c&&(c=!1),void 0===u&&(u=!1);var l=Object(v.C)(e,i);if(!u)return Object(v.A)(e,t,parseInt(i,10),n,s,l);r.setContextState("items",Object(v.A)(e,t,parseInt(i,10),n,s,l))},r.getMMDeviceSettings=function(e,t){var n="113901"===t?g.m.TWOCOLUMN:g.m.DEFAULT;return"rc-g-p"===e?g.l.MOBILE.DEFAULT:"rc-g-t"===e?g.l.TABLET[n]:g.l.DESKTOP[n]},r.getAniviewDeviceSettings=function(e){var t=g.c.DEFAULT;return"rc-g-p"===e?g.b.MOBILE.DEFAULT:"rc-g-t"===e?g.b.TABLET[t]:g.b.DESKTOP[t]},r.loadData=function(){return new Promise((function(e){var t="";if(r.props.subids)for(var n=0,i=Object.entries(JSON.parse(r.props.subids));n0?e.beacons:null,columns:null==(A=e.grid)?void 0:A.columns,rows:null==(m=e.grid)?void 0:m.rows,custom_css:e.css,isCircuitBreaker:!0===e.circuit_breaker,styleId:e.feed_split_style,has_rtbs_video:_.reduce((function(e,t){return t.vast_url||t.vast?e+1:e}),0)>0}),(function(){!e.properVideoSlotId||null==r.state.videoEnabled&&"true"!==r.state.videoEnabled||Object(v.t)(e.properVideoPubId,r.props.widgetid),r.normalizeEndpointURLs(),r.applyCustomCss(),e.grid_settings&&(r.getContentCounts(),r.getInitialContentCounts(),r.appendLoadedItems(e.items))})),t()}var a,s,c,u,l,d,p,f,h,A,m,_,b,w,y,C,S,k,O,I,E,P,R,T,D,L,N,U,B;return _=e.items,b=!1,w=Object(v.l)(),y=null==(a=e.demand_settings)||null==(s=a.mm_settings)?void 0:s[w],C=null==(c=Object.keys(x.a))?void 0:c.includes(r.props.widgetid),e.isBrandTakeover?j=JSON.parse(e.theme):(e.prebid_settings&&e.prebid_settings.is_enabled&&new Promise((function(e,t){return Promise.resolve(r.loadPrebid()).then((function(){try{return e()}catch(e){return t(e)}}),t)})),[2,4].includes(e.widget_type)&&!e.link_data&&(k=(S=Object(v.B)(e.items,e.grid,e.headlines,e.widget_type))[1],e.items=S[0],e.link_data=k),[6,7].includes(e.widget_type)&&!e.link_data&&(O=Object(v.B)(e.items,e.grid,e.headlines,e.widget_type),e.link_data=O),_=r.normalizeURLPaths(e.items),r.props.bannerSize&&r.props.clickTracker&&(_=r.updateClickTracker(_)),e.link_data&&r.normalizeLinkItems(e.link_data),(I=(b=Object(v.z)(e.exco_id,e.exco_devices,w))||y||C)&&(C?(P=(E=r.getAniviewDeviceSettings(e.device_class,r.props.widgetid)).span,e.aniviewIndex=E.index,e.aniviewColumnSpan=P):y?(e.mmIndex=null==e||null==(R=e.demand_settings)?void 0:R.mm_settings[w+"_index"],e.mmColumnSpan=null==e||null==(T=e.demand_settings)?void 0:T.mm_settings[w+"_columns"]):(D=r.setExcoDefaultsIfNeeded(e.excoIndex,e.excoColumnSpan,e.grid,r.state.isMobile),e.excoIndex=D.excoIndex,e.excoColumnSpan=D.excoColumnSpan)),I&&e.widget_type!==g.w.FEED&&(C||y||e.excoStyle!==g.i.INJECTION||!r.state.isMobile?y?_=Object(v.s)(_,e.mmIndex,e.mmColumnSpan,"minuteMedia"):C?(_.splice(_.length-e.aniviewColumnSpan,e.aniviewColumnSpan),_=Object(v.p)(_,e.aniviewIndex,e.aniviewColumnSpan,"aniView")):_=Object(v.q)(_,e.exco_id,e.grid.columns,e.excoColumnSpan,e.excoIndex,r.state.isMobile,e.excoStyle,"excoId"):_=r.setExcoPosition(_,null,e.exco_id,e.grid.columns,e.excoColumnSpan,e.excoIndex,r.state.isMobile,!1))),L=(null==(u=e.grid_settings)||null==(l=u.repeat)||null==(d=l.rows)?void 0:d.length)>0||!1,N=null==(p=e.brand_logo)?void 0:p.includes("full_color_name"),e.demand_settings.dappier_settings={modelId:"dm_01jmjmvm1bfpssbg70t79r6dsc",count:6},null!=(f=e.demand_settings)&&f.dappier_settings?(U=_.filter((function(e){return"trending"===e.type})).length,Promise.resolve(r.getDappierContent(e.demand_settings.dappier_settings,U)).then(function(e){try{return(B=e).length>0&&_.forEach((function(e){if("trending"===e.type){var t=B[0];t&&(e.image=t.image_url,e.headline=t.title,e.url=t.url,B.shift())}})),i.call(this)}catch(e){return n(e)}}.bind(this),n)):i.call(this)}))})).then((function(){if(r.state.tryDemandAgain)return r.loadDemand()})).then((function(){if(!r.state.isAppleNews)return r.fetchRegs(!0)})).catch((function(e){var t={endpoint:"delivery",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",r.state.isAppleNews,!0)})),e()}))},r.loadPrebid=function(){return new Promise((function(e,t){return Promise.resolve(n.e(15).then(n.bind(null,"a1fm")).then((function(e){return e.default}))).then((function(){try{return e()}catch(e){return t(e)}}),t)}))},r.handleBPAction=function(e,t,n){e.preventDefault(),r.setState(o(o({},r.state),{},n?{BPIsVisible:!1}:{BPIsVisible:!0,currentBPDisplayItem:t}))},r.setVideoAutoplayAllowed=function(){return new Promise((function(e){var t=document.createElement("video");return t.style="display: none",t.muted=!0,t.controls=!0,t.preload="auto",t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",document.body.appendChild(t),e(Object(v.x)("video_autoplay",150,t.play().then((function(){return!0})).catch((function(){return!1})).then((function(e){return r.setState({isVideoAutoplayAllowed:e?1:0},(function(){return document.body.removeChild(t),Promise.resolve()}))}))))}))},r.runPixelBotTest=function(){if(!r.state.isAppleNews){var e=document.createElement("link");e.rel="preload",e.as="image",e.href="https://assets.revcontent.com/master/assets/px.png",document.head.appendChild(e);var t=document.createElement("img");t.onload=function(){localStorage.setItem("ib","false"),t.remove(),e.remove()},t.onerror=function(){localStorage.setItem("ib","true"),t.remove(),e.remove()},t.style.display="none",t.src="https://assets.revcontent.com/master/assets/px.png",document.body.appendChild(t)}},r.checkJWPlayer=function(){var e=setInterval((function(){"function"==typeof jwplayer&&"function"==typeof jwplayer().on&&(jwplayer().on("adImpression",(function(){var e,t=null==(e=r.widgetWrapperRef)?void 0:e.current.querySelectorAll("video");t.length>0&&t.forEach((function(e){return e.pause()}))})),jwplayer().on("adPause",(function(){var e,t=null==(e=r.widgetWrapperRef)?void 0:e.current.querySelectorAll("video");t.length>0&&t.forEach((function(e){return e.play()}))})),jwplayer().on("adPlay",(function(){var e,t=null==(e=r.widgetWrapperRef)?void 0:e.current.querySelectorAll("video");t.length>0&&t.forEach((function(e){return e.pause()}))})),jwplayer().on("adComplete",(function(){var e,t=null==(e=r.widgetWrapperRef)?void 0:e.current.querySelectorAll("video");t.length>0&&t.forEach((function(e){return e.play()}))})),clearInterval(e))}),200)},r.loadDemand=function(){if(document&&"1"===Object(v.k)("rev_opt_out"))return{cm_urls:[],rev_allow_cookies:0,criteo_rtus:0};var e=r.state.isRCBranded?"":r.state.whitelabelDomain;r.state.whitelabelPrefix&&(e=r.state.whitelabelPrefix+"."+r.state.whitelabelDomain);var t=null!=r.state.gdpr?"&gdpr="+r.state.gdpr:"",n=null!=r.state.gdprConsent?"&gdpr_consent="+r.state.gdprConsent:"",i=null!=r.state.usPrivacy?"&us_privacy="+r.state.usPrivacy:"",o=null!=r.state.gpp?"&gpp="+r.state.gpp:"",a=null!=r.state.gppSid?"&gpp_sid="+r.state.gppSid:"",s=r.state.isRCBranded?"":"&wlw="+e,c={timeout:400};return r.state.isAppleNews||(c.credentials="include"),Object(v.i)("https://"+r.props.endpoint+"/api/demand/?w="+r.props.widgetid+t+n+i+o+a+s,c).then((function(e){return 200===e.status?e.json():{cm_urls:[],rev_allow_cookies:1,criteo_rtus:1}})).then((function(e){r.setState({tryDemandAgain:!1}),1===e.criteo_rtus&&r.loadCriteoRTUS();var t=[];return e.cm_urls&&e.cm_urls.length>0&&(e.cm_urls.map((function(e){t.push(e.id)})),r.loadCookieMatcherPixel(e.cm_urls)),new Promise((function(n){return r.setState({enabledDsps:t,revAllowCookies:e?e.rev_allow_cookies:null},n)}))})).catch((function(e){r.setState({tryDemandAgain:!0});var t={endpoint:"demand",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",r.state.isAppleNews,!0)}))},r.loadUserUuid=function(){var e=[];null!=r.state.gdpr&&e.push("gdpr="+r.state.gdpr),null!=r.state.gdprConsent&&e.push("gdpr_consent="+r.state.gdprConsent),null!=r.state.usPrivacy&&e.push("us_privacy="+r.state.usPrivacy),null!=r.state.gpp&&e.push("gpp="+r.state.gpp),null!=r.state.gppSid&&e.push("gpp_sid="+r.state.gppSid);var t=e.length>0?"?"+e.join("&"):"",n={timeout:200};return r.state.isAppleNews||(n.credentials="include"),Object(v.i)("https://"+r.props.endpoint+"/sync"+t,n).then((function(e){return 204===e.status?{uuid:null}:e.json()})).then((function(e){return new Promise((function(t){return r.setState({userUuid:e?e.uuid:null},t)}))})).catch((function(e){var t={endpoint:"sync",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",r.state.isAppleNews,!0)}))},r.checkCCPA=function(e){return new Promise((function(t){return t(Object(v.x)("ccpa",e,new Promise((function(e){if("function"!=typeof __uspapi)return e({ccpaDone:!0,retry:!0});__uspapi("getUSPData",1,(function(t,n){if(n&&t){var r={ccpaDone:!0,retry:!1};return r.usPrivacy=t.uspString,r.usPrivacy&&""!==r.usPrivacy&&localStorage.setItem("c_us_privacy",r.usPrivacy),e(r)}}))}))).catch((function(e){return e===v.D?{ccpaDone:!0,retry:!0}:{ccpaDone:!0,retry:!1}})))}))},r.checkGDPR=function(e,t){return new Promise((function(n){return n(Object(v.x)("gdpr",e,new Promise((function(e){if("function"==typeof __tcfapi)__tcfapi("getTCData",2,(function(t,n){if(n){var r={gdprDone:!0,retry:!1};return r.gdpr=!0===t.gdprApplies?"1":"0",r.gdprConsent=t.tcString,r.gdpr&&""!==r.gdpr&&(localStorage.setItem("c_gdpr",r.gdpr),localStorage.setItem("c_gdpr_consent",r.gdprConsent)),e(r)}}),t);else{if("function"!=typeof __cmp)return e({gdprDone:!0,retry:!0});__cmp("getConsentData",null,(function(t,n){if(n){var r={gdprDone:!0,retry:!1};return r.gdpr=!0===t.gdprApplies?"1":"0",r.gdprConsent=t.consentData,r.gdpr&&""!==r.gdpr&&(localStorage.setItem("c_gdpr",r.gdpr),localStorage.setItem("c_gdpr_consent",r.gdprConsent)),e(r)}}))}}))).catch((function(e){return e===v.D?{gdprDone:!0,retry:!0}:{gdprDone:!0,retry:!1}})))}))},r.checkGPP=function(e){return new Promise((function(t){return t(Object(v.x)("gpp",e,new Promise((function(e){if("function"==typeof __gpp){var t=__gpp("getGPPData"),n={gppDone:!0,retry:!1};if(null!=t&&null!=t.applicableSections&&t.applicableSections.length>=1&&null!=t.gppString)return-1!==t.applicableSections[0]||0===t.gppString.length||(n.gpp=t.gppString,n.gppSid=t.applicableSections.join(","),localStorage.setItem("c_gpp",n.gpp),localStorage.setItem("c_gpp_sid",n.gppSid)),e(n);__gpp("ping",(function(t,r){return r&&null!=t&&"loaded"===t.cmpStatus&&"ready"===t.signalStatus&&null!=t.applicableSections&&t.applicableSections.length>=1&&null!=t.gppString?(-1!==t.applicableSections[0]||0===t.gppString.length||(n.gpp=t.gppString,n.gppSid=t.applicableSections.join(","),localStorage.setItem("c_gpp",n.gpp),localStorage.setItem("c_gpp_sid",n.gppSid)),e(n)):e({gppDone:!0,retry:!0})}))}return e({gppDone:!0,retry:!0})}))).catch((function(e){return e===v.D?{gppDone:!0,retry:!0}:{gppDone:!0,retry:!1}})))}))},r.configureRTBData=function(){var e=JSON.parse(r.props.rtbInfo);r.props.rtbInfo&&r.setState(o(o({},r.state),{},{brandPrefix:"rc"},e))},r.createImageURL=function(e,t,n,i,o,a,s,c,u,l,d,p){if(void 0===i&&(i=null),void 0===o&&(o=!1),void 0===a&&(a=0),void 0===s&&(s=!1),void 0===c&&(c=!1),void 0===u&&(u=!1),void 0===l&&(l=!1),void 0===d&&(d=!1),void 0===p&&(p=null),!(r.props.endpoint&&(t||s||r.props.bannerSize||r.props.rtbInfo)&&e))return null;if(-1===e.indexOf("?url="))return e;var f=0;if(o)f=d?p:Math.floor(Object(v.d)(t,i.width,r.state.device_class));else if(s){var h=Object(v.f)(a,i,!0);f=Math.floor(h.width)}else{f=Math.floor(t/r.state.columns-n)}var A,m=r.props.bannerSize||r.state.ad_size;A=o?Object(v.m)(f):m?Object(v.n)(m,r.state.isAppleNews):Object(v.o)(f);var g=e.split("&")[0].split("?url=")[1];r.state.isRCBranded&&-1!==g.indexOf("revcontent-p0.s3.amazonaws.com")&&(g=g.replace("revcontent-p0.s3.amazonaws.com","media.revcontent.com"));var _=/.gif$/gi.test(g),b=r.state.isAppleNews||m,w=r.props.imageQuality&&r.props.imageQuality>10&&r.props.imageQuality<=100?r.props.imageQuality:A.quality;r.state.isAppleNews&&!m&&(A.quality=90);var y=_?"f_gif,fl_lossy":"f_jpg",C=u?"c_pad,b_auto:predominant":"c_fill,g_faces:auto";b&&!u&&(r.state.canUseWebP&&(y="f_webp",C="c_fill,g_faces:auto"),r.state.isAppleNews||(w="auto:eco"));var x=l?"":"pg_1/";return g.includes("upscaled_images")?""+r.state.cloudinaryPath+y+",h_"+A.height+",w_"+A.width+"/"+x+g:""+r.state.cloudinaryPath+y+",q_"+w+",h_"+A.height+",w_"+A.width+","+C+"/"+x+g},r.getCriteoRTUSId=function(){if(!r.state.isAppleNews)try{return localStorage.getItem("rev_criteo_rtus_id")}catch(t){var e={endpoint:"local-storage",error:t.message,widgetid:r.props.widgetid,site_url:window.context?window.context.canonicalUrl:window.location.href};Object(v.I)(e,"events/api-errors",r.state.isAppleNews,!0)}},r.getIdHubQueryParams=function(){var e="";if(r.props.idHub)for(var t=0,n=Object.entries(r.props.idHub);t0?r.state.enabledDsps:r.state.cmDSP).map((function(t){try{var n=localStorage.getItem("d"+t);(n||(n=Object(v.k)("v2_"+t)))&&(e[t]=n)}catch(e){}})),e},r.checkIfSet=function(e){return null!=e},r.injectPolyfill=function(e){if("object"==typeof document){var t=document.createElement("script");t.innerHTML=e,document.body.appendChild(t)}},r.fireVcpmEvent=function(e){var t={imp_uuid:r.state.imp_uuid,widget_id:+r.props.widgetid,key:e,type:"standard"};e===g.q.BULBASAUR&&Object(S.a)("rc-page-view",{eventName:"rc-page-view",url:window.location.href,widgetId:+r.props.widgetid,timestamp:Date.now()}),Object(v.I)(t,"events/vcpm-event",r.state.isAppleNews,!0,"s3_and_kinesis",r.isMRAIDLoggingWidget)},r.handleIntersectionEvent=function(e){var t,n,i=+(null==(t=e.target)||null==(n=t.dataset)?void 0:n.position),o=window.revcontent[r.props.widgetid].vcpmtracking;i===P&&(e.isIntersecting?o.hasFullVcpmEvent||o.fullVcpmEventTimeout||(o.fullVcpmEventTimeout=setTimeout((function(){var e,t,n;o.hasInitialVcpmEvent||(o.hasInitialVcpmEvent=!0,r.fireVcpmEvent(g.q.BULBASAUR),r.vcpmObserver.unobserve(null==(e=r.topObservationElement)?void 0:e.current));o.hasHalfVcpmEvent||(o.hasHalfVcpmEvent=!0,r.fireVcpmEvent(g.q.IVYSAUR),r.vcpmObserver.unobserve(null==(t=r.middleObservationElement)?void 0:t.current));o.hasFullVcpmEvent||(o.hasFullVcpmEvent=!0,r.fireVcpmEvent(g.q.VENASAUR),r.vcpmObserver.unobserve(null==(n=r.bottomObservationElement)?void 0:n.current))}),1e3)):(clearTimeout(o.fullVcpmEventTimeout),o.fullVcpmEventTimeout=null)),i===E&&(e.isIntersecting?o.hasHalfVcpmEvent||o.halfVcpmEventTimeout||(o.halfVcpmEventTimeout=setTimeout((function(){var e,t;o.hasInitialVcpmEvent||(o.hasInitialVcpmEvent=!0,r.fireVcpmEvent(g.q.BULBASAUR),r.vcpmObserver.unobserve(null==(e=r.topObservationElement)?void 0:e.current));o.hasHalfVcpmEvent||(o.hasHalfVcpmEvent=!0,r.fireVcpmEvent(g.q.IVYSAUR),r.vcpmObserver.unobserve(null==(t=r.middleObservationElement)?void 0:t.current))}),1e3)):(clearTimeout(o.halfVcpmEventTimeout),o.halfVcpmEventTimeout=null)),i===I&&(e.isIntersecting?(r.setContextState("isVCPMVisible",!0),o.hasInitialVcpmEvent||o.initialVcpmEventTimeout||(o.initialVcpmEventTimeout=setTimeout((function(){var e;o.hasInitialVcpmEvent||(o.hasInitialVcpmEvent=!0,r.fireVcpmEvent(g.q.BULBASAUR),r.vcpmObserver.unobserve(null==(e=r.topObservationElement)?void 0:e.current))}),1e3))):r.setContextState("isVCPMVisible",!1)),o.hasInitialVcpmEvent&&o.hasHalfVcpmEvent&&o.hasFullVcpmEvent&&r.vcpmObserver.disconnect()},r.getMRAIDTimingInterval=function(){var e=window.innerWidth/window.innerHeight;return"300x600"===r.props.bannerSize||.5===e?250:1e3},r.handleMRAIDIntersectionEvent=function(){var e=window.revcontent[r.props.widgetid].vcpmtracking;r.state.isMRAIDViewable?e.hasVcpmEvent||(e.timer=setTimeout((function(){r.fireVcpmEvent(g.q.BULBASAUR),r.fireVcpmEvent(g.q.IVYSAUR),r.fireVcpmEvent(g.q.VENASAUR),e.hasVcpmEvent=!0}),r.getMRAIDTimingInterval())):(clearTimeout(e.timer),e.timer=null)},r.onIntersection=function(e){e.forEach((function(e){r.handleIntersectionEvent(e)}))},r.isObservable=function(){var e,t,n;return(null==(e=r.topObservationElement)?void 0:e.current)&&(null==(t=r.middleObservationElement)?void 0:t.current)&&(null==(n=r.bottomObservationElement)?void 0:n.current)},r.onMRAIDViewableChange=function(e){r.setContextState("isMRAIDViewable",e)},r.getDappierContent=function(e,t){return new Promise((function(n,i){var o,a,s;if(void 0===t&&(t=0),0===t)return n([]);o={method:"POST",headers:{Authorization:"Bearer "+g.f,"Content-Type":"application/json"},timeout:1e3,body:JSON.stringify({query:"https://www.channel3000.com/news/top-stories/zach-hanley-sits-down-with-carter-gilmore-and-kamari-mcgee/article_85a800fa-ee29-11ef-9240-e76e69527f56.html",similarity_top_k:r.dappierItemCount>100?r.dappierItemCount:100,search_algorithm:"most_recent_semantic",ref:window.location.hostname,num_results:t,page:r.dappierPage})};var c=function(e){try{return s={endpoint:"dappier-api",error:e.message,widgetid:r.props.widgetId,site_url:window.context?window.context.canonicalUrl:window.location.href},Object(v.I)(s,"events/api-errors",r.state.isAppleNews,!0),function(){try{return n()}catch(e){return i(e)}}()}catch(e){return i(e)}};try{return Promise.resolve(Object(v.i)(""+g.g+e.modelId,o)).then((function(e){try{return Promise.resolve(e.json()).then((function(e){try{return a=e,r.dappierPage++,n(a.results||[])}catch(e){return c(e)}}),c)}catch(e){return c(e)}}),c)}catch(e){c(e)}}))},r.fetchRegs=function(e){return new Promise((function(t){var n=[];if((void 0===r.state.gppRetry||r.state.gppRetry)&&n.push(r.checkGPP(e?5e3:200)),(void 0===r.state.ccpaRetry||r.state.ccpaRetry)&&n.push(r.checkCCPA(e?5e3:200)),void 0===r.state.gdprRetry||r.state.gdprRetry){var i=[];for(var o in Object({0:203,1:210,2:128,3:52,4:82,5:109,6:849,7:259,8:10}))i.push(Object({0:203,1:210,2:128,3:52,4:82,5:109,6:849,7:259,8:10})[o]);n.push(r.checkGDPR(e?5e3:200,i))}return t(0===n.length?Promise.resolve():Promise.all(n.map((function(e){return e.catch((function(e){return e}))}))).then((function(e){var t={};if(e.filter((function(e){return!(e instanceof Error)&&null!=e})).forEach((function(e){e.ccpaDone&&(null!=e.usPrivacy&&(t.usPrivacy=e.usPrivacy),t.ccpaRetry=e.retry),e.gdprDone&&(null!=e.gdpr&&(t.gdpr=e.gdpr,t.gdprConsent=e.gdprConsent),t.gdprRetry=e.retry),e.gppDone&&(null!=e.gppSid&&(t.gpp=e.gpp,t.gppSid=e.gppSid),t.gppRetry=e.retry)})),null==t.gpp){var n=localStorage.getItem("c_gpp");null!=n&&""!==n&&(t.gpp=n)}if(null==t.gppSid){var i=localStorage.getItem("c_gpp_sid");null!=i&&""!==i&&(t.gppSid=i)}if(null==t.gpp){if(null==t.usPrivacy){var o=localStorage.getItem("c_us_privacy");null!=o&&""!==o&&(t.usPrivacy=o)}if(null==t.gdpr){var a=localStorage.getItem("c_gdpr");null!=a&&""!==a&&(t.gdpr=a)}if(null==t.gdprConsent){var s=localStorage.getItem("c_gdpr_consent");null!=s&&""!==s&&(t.gdprConsent=s)}}else localStorage.removeItem("c_us_privacy"),localStorage.removeItem("c_gdpr"),localStorage.removeItem("c_gdpr_consent"),t.usPrivacy=null,t.gdpr=null,t.gdprConsent=null,t.ccpaRetry=!1,t.gdprRetry=!1;return r.setState(t,(function(){return Promise.resolve()}))})).catch((function(e){var t={endpoint:"iab-gdpr-ccpa",error:e.message,widgetid:r.props.widgetid,site_url:r.state.siteUrl};Object(v.I)(t,"events/api-errors",r.state.isAppleNews,!0)})))}))};var i,a,s="",c="",u=!1,l="https://images.revcontent.com/revcontent/image/fetch/";if("object"==typeof document&&(r.props.siteurl?s=r.props.siteurl:window.location&&(s="about:srcdoc"===window.location.href?window.parent.location.href:window.location.href),r.props.icrurl&&(c=r.props.icrurl),u=Object(v.k)("rc-reporting-enabled"),window.dspCriteoRTUSCallback=r.dspCriteoRTUSCallback,window.dspCMCallback=r.dspCMCallback,-1===r.props.endpoint.indexOf("revcontent"))){var d=r.props.endpoint.split(".");a=d[0],l="https://images."+(i=d[1]+"."+d[2])+"/image/fetch/"}var p="mobile"===b.a.userAgent().platform;return r.state={columns:4,rows:3,metricsEnabled:"true"===u,commitHash:"7dc1b11",client_version:"0.1.0",isNext:r.props.isNext||!1,isAppleNews:"https://news.apple.com"===r.props.siteurl,isMRAIDEnvironment:k.b,isMRAIDViewable:!1,theme:g.v,siteUrl:s,icrUrl:c,cloudinaryPath:l,whitelabelDomain:i,whitelabelPrefix:a,repeatItems:[],loaded:[],totalSponsoredCount:0,totalTrendingCount:0,repeatSponsoredCount:0,repeatTrendingCount:0,ampNotify:"true"===r.props.rcAmpNotify,isCircuitBreaker:"true"===r.props.isCircuitBreaker,isMobile:p,isAndroid:b.a.userAgent().os.android,isWebView:y()(b.a.userAgent().ua),isExco:!1,styleId:0,isUnlocked:!1,isRCBranded:-1!==r.props.endpoint.indexOf("revcontent"),gdpr:r.checkIfSet(r.props.gdpr)&&""!==r.props.gdpr?"0"===r.props.gdpr||"false"===r.props.gdpr?0:1:null,gdprConsent:r.checkIfSet(r.props.gdprConsent)&&""!==r.props.gdprConsent?r.props.gdprConsent:null,usPrivacy:r.checkIfSet(r.props.usPrivacy)&&""!==r.props.usPrivacy?r.props.usPrivacy:null,gpp:r.checkIfSet(r.props.gpp)&&""!==r.props.gpp?r.props.gpp:null,gppSid:r.checkIfSet(r.props.gppSid)&&""!==r.props.gppSid&&"-1"!==r.props.gppSid?r.props.gppSid:null,generic_token:"Lemj2ZopquqFGaimG5AJKcfhhQo7cKLnG66Ui8RP4l9Tot8SgCDR6xwQD8EZmtb44mOPmLICPUkPrYF51eHAjGBYVVW9F%2Bcl67B1L78Esqc%3D",isVideoAutoplayAllowed:0,requiresIsolation:"true"===r.props.requiresIsolation,disableDemand:null!=r.props.disableDemand,canUseWebP:Object(v.v)(),cmDSP:Object.values(Object({0:3,1:118,2:151,3:154,4:176,5:177,6:181,7:183})),isAWBackfill:!1,mockRtb:null!=r.props.mockRtb,tryDemandAgain:!1},r.loadedItems=[],r.icrOffset=0,r.impressionVersion=1,r.hasRecordedImpression=!1,r.hasWidgetView=!1,r.hasImpressionStatRecorded=!1,r.hasWidgetViewStatRecorded=!1,r.viewed=[],r.viewQueue=[],r.statsPayloadQueue=[],r.dbcooperTrendingViewQueue=[],r.dbcooperTrendingStatsPayloadQueue=[],r.itemReferences=[],r.vcpmObserver=null,r.widgetWrapperRef=Object(A.createRef)(),r.topObservationElement=Object(A.createRef)(),r.middleObservationElement=Object(A.createRef)(),r.bottomObservationElement=Object(A.createRef)(),r.vcpmLoggingWidgets=["279598"],r.isMRAIDLoggingWidget=r.vcpmLoggingWidgets.includes(r.props.widgetid),r.isVCPMVisible=!1,r.dappierPage=1,r.dappierItemCount=0,r}var i,a;a=t,(i=r).prototype=Object.create(a.prototype),i.prototype.constructor=i,s(i,a);var c=r.prototype;return c.componentDidMount=function(){var e=this;if(window.revcontent[this.props.widgetid]=window.revcontent[this.props.widgetid]||{vcpmtracking:{hasInitialVcpmEvent:!1,initialVcpmEventTimeout:null,hasHalfVcpmEvent:!1,halfVcpmEventTimeout:null,hasFullVcpmEvent:!1,fullVcpmEventTimeout:null,hasVcpmEvent:!1,isMRAIDCleared:!1,isMRAIDViewable:!1}},this.runPixelBotTest(),this.props.polyfill&&this.injectPolyfill(this.props.polyfill.script),this.props.rtbInfo)this.configureRTBData();else{if(!this.props.widgetid){var t="ERROR - Code for widget is malformed. Please ensure that widget id is set before loading javascript or delay setting attributes until after javascript has loaded and manually render the placement.";console.error(t);var n={error:t,widgetid:this.props.widgetid,site_url:this.state.siteUrl};return void Object(v.I)(n,"events/widget-configuration-errors",this.state.isAppleNews,!0)}if(!this.props.endpoint)return void console.error("ERROR - Code for widget is malformed. Please ensure that a valid endpoint is set on the widget code.");this.checkJWPlayer(),this.state.isAppleNews?(this.state.isMRAIDEnvironment&&Object(k.a)(this.onMRAIDViewableChange),this.loadData()):this.fetchRegs(!1).then((function(){var t=[];return e.state.disableDemand&&e.state.isAppleNews||t.push(e.loadDemand()),t.length>0?Promise.all(t):Promise.resolve()})).then(this.loadData).catch(this.loadData)}},c.componentDidUpdate=function(e,t){var n;if(this.props.isWindowFocused!==e.isWindowFocused&&this.prepImpressionEvent(),null!=(n=this.widgetWrapperRef)&&n.current){var r,i,o;if(this.state.widget_loaded!==t.widget_loaded)if(this.vcpmObserver=new IntersectionObserver(this.onIntersection),this.setContextState("vcpmObserver",this.vcpmObserver),this.isObservable()&&!this.state.isMRAIDEnvironment)this.vcpmObserver.observe(null==(r=this.topObservationElement)?void 0:r.current),this.vcpmObserver.observe(null==(i=this.middleObservationElement)?void 0:i.current),this.vcpmObserver.observe(null==(o=this.bottomObservationElement)?void 0:o.current),this.setContextState("topObservationElement",this.topObservationElement),this.setContextState("middleObservationElement",this.middleObservationElement),this.setContextState("bottomObservationElement",this.bottomObservationElement);this.state.isMRAIDEnvironment&&this.state.isMRAIDViewable!==t.isMRAIDViewable&&this.handleMRAIDIntersectionEvent()}},c.componentWillUnmount=function(){this.state.isMRAIDEnvironment&&Object(k.c)(this.onMRAIDViewableChange)},c.render=function(){var t,n=this.props,r=n.children,i=o(o({},function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(n,["children"])),this.state);return i.setContextState=this.setContextState,i.setContextStateArray=this.setContextStateArray,i.getColumnCount=this.getColumnCount,i.updateItems=this.updateItems,i.fireViewEvent=this.fireViewEvent,i.loadMoreContent=this.loadMoreContent,i.updateItem=this.updateItem,i.appendLoadedItems=this.appendLoadedItems,i.updateNewFeedItems=this.updateNewFeedItems,i.getRepeatItemsLength=this.getRepeatItemsLength,i.widgetWrapperRef=null==(t=this.widgetWrapperRef)?void 0:t.current,i.handleBPAction=this.handleBPAction,i.normalizeURLPaths=this.normalizeURLPaths,i.normalizeEndpointURLs=this.normalizeEndpointURLs,i.queueItemForView=this.queueItemForView,i.fireImpressionEvent=this.fireImpressionEvent,i.createImageURL=this.createImageURL,i.setExcoPosition=this.setExcoPosition,i.itemReferences=this.itemReferences,i.hasWidgetView=this.hasWidgetView,i.isMRAIDLoggingWidget=this.isMRAIDLoggingWidget,i.getMRAIDTimingInterval=this.getMRAIDTimingInterval,i.getDappierContent=this.getDappierContent,e(R,{ref:this.widgetWrapperRef,"data-nosnippet":!0},e(O.Provider,{value:i},r),e(T,{ref:this.topObservationElement,"data-position":"0"}),e(D,{ref:this.middleObservationElement,"data-position":"1"}),e(L,{ref:this.bottomObservationElement,"data-position":"2"}))},r}(A.Component),function(t){var n=Object(C.a)();return e(h,r({isWindowFocused:n},t))})}).call(this,n("hosL").h)},duBu:function(e,t,n){"use strict";(function(e){function r(){return(r=Object.assign||function(e){for(var t=1;t100&&window.context.requestResize(r.width,r.height)})),this.props.widget_type!==f.w.RTB)&&(this.state={bpIsVisible:!1},window.context&&window.context.onResizeDenied((function(t,n){var r={widget_context:Object(A.a)(e.props),amp_context:Object(A.a)(window.context),width:n,height:t,widgetHeight:e.props.height,widgetWidth:e.props.width};Object(A.I)(r,"events/amp-resize-failures",!1,!0)})),"mobile"===d.a.userAgent().platform&&this.props.setContextState("isMobile",!0))},s.componentDidUpdate=function(e){var t,n=this;if(null!=(t=this.containerRef)&&t.current&&(this.isResizeObserved||(this.isResizeObserved=!0,this.resizeObserver.observe(this.containerRef.current))),this.props.widget_type!==f.w.RTB){var r,i,o;if(this.props.rioc!==e.rioc&&this.configureRioc(),null!=(r=this.containerRef)&&r.current&&this.updateIframeIfNeeded(),this.props.widget_type!==e.widget_type&&(this.addIconSupport(),this.videoPlayerSupport()),this.props.items!==e.items&&this.setWidgetLoaded(),window.rcpbjs)if(this.props.prebid_settings&&!this.prebidConfigured)this.prebidConfigured=!0,(null==(i=this.props.prebid_settings)?void 0:i.is_enabled)&&(null==(o=this.props.prebid_settings.devices)?void 0:o.some((function(e){return f.a[e].includes(n.props.device_class)})))&&Object(m.a)(this.props.prebid_settings,this.props.widgetid,this.props.items,this.props.itemReferences,this.props.columns,this.props.widgetWidth,this.props.excoIndex,this.props.excoColumnSpan,this.props.imp_uuid,!1,!1);if(this.props.widget_loaded!==e.widget_loaded){if(window.context&&this.props.rcAmpNotify){var a;null==(a=window.parent)||a.postMessage({action:"widget-loaded",source:"revcontent"},"*")}if(!this.props.disableDemand){if(window.revcontent&&!window.revcontent.pageviewed){var s=Array.from(document.querySelectorAll("[data-rc-widget], [data-stack-widget], [data-widget-placement]"));if(s&&s.length>0){var c={pubid:this.props.pub_id,domain:window.location.hostname,url:window.location.href,widgets:[]};s.forEach((function(e){c.widgets.push(e.dataset.widgetId)})),Object(A.I)(c,"events/page-view",this.props.isAppleNews,!0)}window.revcontent.pageviewed=!0}var u={width:this.props.width,height:this.props.height,widgetid:this.props.widgetid,pubid:this.props.pub_id,redirected:null!==this.props.redirected,url:window.context?window.context.canonicalUrl:window.location.href,widgetWidth:this.props.widgetWidth};Object(A.I)(u,"events/widget-loaded",this.props.isAppleNews,!0)}this.props.setContextState("widget_loaded_event_fired",!0)}}},s.componentWillUnmount=function(){this.resizeObserver&&this.resizeObserver.disconnect()},s.render=function(t){var n,r,i,o,a,s,c=this,l=null,d=t.isBrandTakeover?f.w.BRAND_TAKEOVER:t.widget_type,p=void 0!==typeof window&&t.requiresIsolation,h=!0===(null==t||null==(n=t.demand_settings)||null==(r=n.back_button_settings)?void 0:r.enabled);if(!d)return null;if(t.bannerSize&&t.items)return e("div",{ref:this.containerRef,className:t.isRCBranded?"rc-wc rc-uid-"+t.widgetid+" "+t.device_class:t.brandPrefix+"-uid-"+t.widgetid},e(u.Suspense,{fallback:e(_.a,null)},e(E,{createImageURL:t.createImageURL,brandPrefix:t.brandPrefix,items:t.items,layout:t.bannerSize})));if(d){if(d===f.w.RTB)return e(u.Suspense,{fallback:e(_.a,null)},e(E,{isRtb:!0,createImageURL:t.createImageURL,brandPrefix:t.brandPrefix,rtbItem:t.item,layout:t.ad_size}));l=this.getLayout(d,t)}var m=null==(i=t.revmoreDevices)?void 0:i.split(",");this.usesRevmore=null!=this.props.revmore&&(m&&m.some((function(e){return function(e,t){var n;return null==(n=f.h[e])?void 0:n.device_classes.includes(t)}(e.trim(),c.props.device_class)}))||this.props.isMobile);var w=null==(o=t.demand_settings)||null==(a=o.openweb_settings)?void 0:a.spot_id;return e(L,{id:t.brandPrefix+"_cont_"+t.widgetid,ref:this.containerRef,isBrandTakeover:t.isBrandTakeover,revMore:this.usesRevmore,revmorePosition:t.revmorePreviewHeight,className:(t.isRCBranded?"rc-wc rc-uid-"+t.widgetid+" "+t.device_class:t.brandPrefix+"-uid-"+t.widgetid+" "+t.brandPrefix+"-"+t.currentDevice)+" "+(t.styleId?"layout_"+t.styleId:"layout_1")},p?e(D,null):null,e(g.a,{showRevMore:this.usesRevmore}),e(u.Suspense,{fallback:e(_.a,null)},e(v.a,{widgetType:d,header:t.header,brandPosition:t.brand_position,deviceClass:t.device_class,isRCBranded:t.isRCBranded,isBrandTakeover:t.isBrandTakeover,brandPrefix:t.brandPrefix,brandLabel:t.brand_label,brandLogo:t.brand_logo,endpoint:t.endpoint,adChoices:t.adchoices,position:"top",isFullNameBranding:t.isFullNameBranding}),w&&this.props.isMobile&&this.props.isAndroid&&e(b.a,{spotId:w}),l,t.beacons?t.beacons.map((function(t){return t.src&&t.src.length>0?e("script",{id:"rc_"+t.type+"_"+Object(A.H)(!1),src:t.src}):e("script",null,t.script)})):null,e(v.a,{widgetType:d,brandPosition:t.brand_position,deviceClass:t.device_class,isRCBranded:t.isRCBranded,isBrandTakeover:t.isBrandTakeover,brandPrefix:t.brandPrefix,brandLabel:t.brand_label,brandLogo:t.brand_logo,endpoint:t.endpoint,adChoices:t.adchoices,position:"bottom",isFullNameBranding:t.isFullNameBranding})),e(u.Suspense,null,t.isRCBranded&&t.modalIsVisible&&e(P,null)),e(u.Suspense,{fallback:e(_.a,null)},t.BPIsVisible&&e(R,{setBPStatus:this.setBPStatus,updateItems:this.props.updateItems,item:t.currentBPDisplayItem})),e(u.Suspense,null,h&&e(j,{widgetId:t.widgetid,pubId:t.pub_id,impUuid:t.imp_uuid,settings:null==(s=t.demand_settings)?void 0:s.back_button_settings,isMobile:t.isMobile})))},n}(c.Component);t.a=Object(h.c)((function(t){return e(N,t)}))}).call(this,n("hosL").h)},eJJ5:function(e,t,n){(function(r){var i;!function(o){"use strict";var a="object"==typeof window&&window||"object"==typeof r&&r||"object"==typeof self&&self||o,s="function"==typeof setImmediate,c="object"==typeof process&&!!process&&"function"==typeof process.nextTick,u=0,l=function(){var e,t,n,r;if(a.MutationObserver)return function(t){e=document.createElement("div"),new MutationObserver((function(){t(),e=null})).observe(e,{attributes:!0}),e.setAttribute("i","1")};if(!s&&a.postMessage&&!a.importScripts&&a.addEventListener){var i="com.setImmediate"+Math.random();r={};return a.addEventListener("message",(function(e){if(e.source===a&&0===e.data.indexOf(i)){var t=+e.data.split(":")[1];r[t](),delete r[t]}}),!1),function(e){var t=9007199254740991===u?0:++u;r[t]=e,a.postMessage(i+":"+t,"*")}}return!s&&a.document&&"onreadystatechange"in document.createElement("script")?function(e){(t=document.createElement("script")).onreadystatechange=function(){t.onreadystatechange=null,t.parentNode.removeChild(t),t=null,e()},document.body.appendChild(t)}:(n=s&&setImmediate||c&&process.nextTick||setTimeout,function(e){n(e)})}();e.exports?e.exports=l:void 0===(i=function(){return l}.call(t,n,t,e))||(e.exports=i)}(this)}).call(this,n("pCvA"))},hQB0:function(e,t,n){"use strict";(function(e){var r,i,o,a=n("UutA"),s=n("2Usk"),c=a.b.div(r||(i=["\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 15%;\n \n svg path,\n svg rect{\n fill: ",";\n }\n"],o||(o=i.slice(0)),i.raw=o,r=i),s.v.primaryColor);t.a=function(){return e(c,null,e("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24px",height:"30px",viewBox:"0 0 24 30",style:"enable-background:new 0 0 50 50;"},e("rect",{x:"0",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2"},e("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"})),e("rect",{x:"8",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2"},e("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"})),e("rect",{x:"16",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2"},e("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),e("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}))))}}).call(this,n("hosL").h)},hosL:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function o(e,t,n){var r,i,o,s=arguments,c={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:c[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o0?a(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(m=C[f])||m&&v.key==m.key&&v.type===m.type)C[f]=void 0;else for(h=0;h3)for(n=[n],s=3;s>>1,1),t.i.removeChild(e)}}),Object(O.render)(Object(O.createElement)(p,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function h(e,t){return Object(O.createElement)(f,{__v:e,i:t})}function A(e,t,n){return null==t.__k&&(t.textContent=""),Object(O.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function m(e,t,n){return Object(O.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}function g(){}function v(){return this.cancelBubble}function _(){return this.defaultPrevented}function b(e,t){return t()}function w(e){return O.createElement.bind(null,e)}function y(e){return!!e&&e.$$typeof===L}function C(e){return y(e)?O.cloneElement.apply(null,arguments):e}function x(e){return!!e.__k&&(Object(O.render)(null,e),!0)}function S(e){return e&&(e.base||1===e.nodeType&&e)||null}n.r(t),n.d(t,"version",(function(){return Y})),n.d(t,"Children",(function(){return R})),n.d(t,"render",(function(){return A})),n.d(t,"hydrate",(function(){return m})),n.d(t,"unmountComponentAtNode",(function(){return x})),n.d(t,"createPortal",(function(){return h})),n.d(t,"createFactory",(function(){return w})),n.d(t,"cloneElement",(function(){return C})),n.d(t,"isValidElement",(function(){return y})),n.d(t,"findDOMNode",(function(){return S})),n.d(t,"PureComponent",(function(){return o})),n.d(t,"memo",(function(){return a})),n.d(t,"forwardRef",(function(){return s})),n.d(t,"unstable_batchedUpdates",(function(){return X})),n.d(t,"StrictMode",(function(){return J})),n.d(t,"Suspense",(function(){return c})),n.d(t,"SuspenseList",(function(){return d})),n.d(t,"lazy",(function(){return l})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return F})),n.d(t,"unstable_ImmediatePriority",(function(){return H})),n.d(t,"unstable_UserBlockingPriority",(function(){return q})),n.d(t,"unstable_NormalPriority",(function(){return G})),n.d(t,"unstable_LowPriority",(function(){return $})),n.d(t,"unstable_IdlePriority",(function(){return Q})),n.d(t,"unstable_runWithPriority",(function(){return b})),n.d(t,"unstable_now",(function(){return K}));var k=n("QRet");n.d(t,"useState",(function(){return k.k})),n.d(t,"useReducer",(function(){return k.i})),n.d(t,"useEffect",(function(){return k.d})),n.d(t,"useLayoutEffect",(function(){return k.g})),n.d(t,"useRef",(function(){return k.j})),n.d(t,"useImperativeHandle",(function(){return k.f})),n.d(t,"useMemo",(function(){return k.h})),n.d(t,"useCallback",(function(){return k.a})),n.d(t,"useContext",(function(){return k.b})),n.d(t,"useDebugValue",(function(){return k.c})),n.d(t,"useErrorBoundary",(function(){return k.e}));var O=n("hosL");n.d(t,"createElement",(function(){return O.createElement})),n.d(t,"createContext",(function(){return O.createContext})),n.d(t,"createRef",(function(){return O.createRef})),n.d(t,"Fragment",(function(){return O.Fragment})),n.d(t,"Component",(function(){return O.Component})),(o.prototype=new O.Component).isPureReactComponent=!0,o.prototype.shouldComponentUpdate=function(e,t){return i(this.props,e)||i(this.state,t)};var I=O.options.__b;O.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),I&&I(e)};var E="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,P=function(e,t){return null==e?null:Object(O.toChildArray)(Object(O.toChildArray)(e).map(t))},R={map:P,forEach:P,count:function(e){return e?Object(O.toChildArray)(e).length:0},only:function(e){var t=Object(O.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O.toChildArray},j=O.options.__e;O.options.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);j(e,t,n)};var T=O.options.unmount;O.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),T&&T(e)},(c.prototype=new O.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=u(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},c.prototype.componentWillUnmount=function(){this.t=[]},c.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=r({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)}))),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&Object(O.createElement)(O.Fragment,null,e.fallback);return o&&(o.__h=null),[Object(O.createElement)(O.Fragment,null,t.__e?null:e.children),o]};var D=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]